package com.ruoyi.ring.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 温度对象 az_ring_temp
 * 
 * @author liuwp
 * @date 2025-08-18
 */
@Data
public class RingTemp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备sn */
    @Excel(name = "设备sn")
    private String deviceSn;

    /** 计算日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计算日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date historyDay;

    /** 温度列表 */
    @Excel(name = "温度列表")
    private String tempList;

    /** 当前温度 */
    @Excel(name = "当前温度")
    private String realTemp;

    /** 温度状态 */
    @Excel(name = "温度状态")
    private String timingState;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceSn", getDeviceSn())
            .append("historyDay", getHistoryDay())
            .append("tempList", getTempList())
            .append("realTemp", getRealTemp())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("timingState", getTimingState())
            .toString();
    }
}
